package com.example.parkingproject.code;

public enum ServiceCode {
    ok(200),
    error_bad_request(400),
    ERROR_NOT_FOUND(404),
    IS_EXISTENCE(405),
    ERROR_CONFLICT(406),
    ERROR_JWT_MALFORMED(407);
    private Integer value;

    ServiceCode(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }
}
